Optimal. Leaf size=29 \[ -x+\frac {2 \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1164, 396, 214}
\begin {gather*} \frac {2 \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 396
Rule 1164
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^2}{d^2-e^2 x^4} \, dx &=\int \frac {d+e x^2}{d-e x^2} \, dx\\ &=-x+(2 d) \int \frac {1}{d-e x^2} \, dx\\ &=-x+\frac {2 \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 1.00 \begin {gather*} -x+\frac {2 \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 22, normalized size = 0.76
method | result | size |
default | \(-x +\frac {2 d \arctanh \left (\frac {e x}{\sqrt {d e}}\right )}{\sqrt {d e}}\) | \(22\) |
risch | \(-x -\frac {\sqrt {d e}\, \ln \left (\sqrt {d e}\, x -d \right )}{e}+\frac {\sqrt {d e}\, \ln \left (-\sqrt {d e}\, x -d \right )}{e}\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 38, normalized size = 1.31 \begin {gather*} -\sqrt {d} e^{\left (-\frac {1}{2}\right )} \log \left (\frac {x e - \sqrt {d} e^{\frac {1}{2}}}{x e + \sqrt {d} e^{\frac {1}{2}}}\right ) - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 69, normalized size = 2.38 \begin {gather*} \left [\sqrt {d} e^{\left (-\frac {1}{2}\right )} \log \left (\frac {x^{2} e + 2 \, \sqrt {d} x e^{\frac {1}{2}} + d}{x^{2} e - d}\right ) - x, -2 \, \sqrt {-d e^{\left (-1\right )}} \arctan \left (\frac {\sqrt {-d e^{\left (-1\right )}} x e}{d}\right ) - x\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 34, normalized size = 1.17 \begin {gather*} - x - \sqrt {\frac {d}{e}} \log {\left (x - \sqrt {\frac {d}{e}} \right )} + \sqrt {\frac {d}{e}} \log {\left (x + \sqrt {\frac {d}{e}} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.68, size = 26, normalized size = 0.90 \begin {gather*} -\frac {2 \, d \arctan \left (\frac {x e}{\sqrt {-d e}}\right )}{\sqrt {-d e}} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.43, size = 21, normalized size = 0.72 \begin {gather*} \frac {2\,\sqrt {d}\,\mathrm {atanh}\left (\frac {\sqrt {e}\,x}{\sqrt {d}}\right )}{\sqrt {e}}-x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________